package com.mohan.gulimall.member.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 积分变化历史记录
 *
 * @author mohan
 * @email 1358665425@qq.com
 * @date 2021-12-11 15:38:39
 */
@Data
@TableName("ums_integration_change_history")
public class IntegrationChangeHistoryEntity implements Serializable {
  private static final long serialVersionUID = 1L;

  /**
   * id
   */
  @TableId
  private Long id;
  /**
   * member_id
   */
  private Long memberId;
  /**
   * create_time
   */
  private Date createTime;
  /**
   * 变化的值
   */
  private Integer changeCount;
  /**
   * 备注
   */
  private String note;
  /**
   * 来源[0->购物；1->管理员修改;2->活动]
   */
  private Integer sourceTyoe;

}
